package com.malred.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author malguy-wang sir
 * @create ---
 */
@Controller
@RequestMapping("/test")
public class testController {
    @RequestMapping("/index")
    public String login(){
        return "index";
    }
    @RequestMapping("/logout")
    public String logout(){ return "logout";}
}
